Skip to content

Conversation

vincentsarago
Copy link
Member

@oliverroick I realized that we could access the query-parameters directly in the template, instead of having to change the python code.

FYI: I'm working on adding the HTML response into a Middleware, so I need to have templates that do not expect custom values provided, but just the regular stac-fastapi response

{% set urlq = url + '?' + params + '&' %}
{% else %}
{% set urlq = url + '?' %}
{% endif %}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why this was removed, sorry I should have caught this during review

@vincentsarago vincentsarago merged commit 4a28944 into main Mar 25, 2025
2 checks passed
@vincentsarago vincentsarago deleted the patch/remove-custom-html-params branch March 25, 2025 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants